ScopedGtbabel\gtbabel\core\Dom D

Total Complexity 338
Dependencies 11
Dependents 1
Total lines 1,207
Lines of code 1,048
Logical lines of code 680
Comment lines 86
Methods 63
Properties 7

Methods 63

Method Rating Maintainability Complexity Lines of code
modifyHtmlNodes()
D
29 36 104
setXmlLangTags()
B
37 22 71
getNearestLogicalGroup()
B
43 23 40
transformSelectorToXpath()
A
44 16 39
doWordPressSpecificsBefore()
A
46 14 37
getGroupsForTextNodes()
A
45 13 43
showFrontendEditorLinks()
A
45 13 35
removeHiddenBlocks()
A
47 12 33
preloadExcludedNodes()
A
49 12 31
modifyJson()
A
45 11 42
setHtmlLangTags()
A
47 10 37
modifyXmlNodes()
A
48 10 32
detectDomChangesFrontend()
A
45 9 42
localizeJsPrepare()
A
48 9 33
setInnerHtml()
S
51 7 26
modifyHtml()
S
48 6 36
nodeIsExcluded()
S
56 7 19
__construct()
S
63 8 9
addNoTranslateClassToExcludedChildren()
S
58 6 15
frontendEditorFrontend()
S
53 5 23
showSimpleLanguagePicker()
S
55 5 18
preloadAltLngAreas()
S
57 5 17
doWordPressSpecificsAfter()
S
62 5 11
getParentNodeWithMoreThanOneChildren()
S
59 4 16
modifyXml()
S
59 4 16
preloadForceTokenize()
S
63 4 11
injectLanguagePickerIntoMenu()
S
59 3 13
localizeJsInject()
S
60 3 13
setOpenGraphLocale()
S
65 3 9
getTagNameOfNode()
S
67 3 9
nodeContentBeginsWith()
S
65 3 9
nodeContentEndsWith()
S
65 3 9
setRtlAttr()
S
66 3 8
modifyContent()
S
66 2 9
getLastChildrenOfNode()
S
68 2 7
getAltLngForElement()
S
70 2 6
isEmptyTextNode()
S
77 2 3
getNextSiblingOfNode()
S
68 2 7
addToExcludedNodes()
S
70 2 6
insertAfter()
S
69 2 7
addClass()
S
65 2 9
getInnerHtml()
S
69 2 7
isInnerTagNode()
S
68 2 6
getPreviousSiblingOfNode()
S
68 2 7
nodeIsForcedTokenized()
S
79 1 3
isElementNode()
S
80 1 3
finishDomDocument()
S
81 1 3
getChildrenOfNode()
S
80 1 3
getChildrenOfNodeIncludingWhitespace()
S
80 1 3
getIdOfNode()
S
82 1 3
getChildrenCountOfNode()
S
80 1 3
getTextSiblingCountOfNonTextNodeWithLessChars()
S
78 1 3
getTextSiblingCountOfNonTextNodeWithMoreChars()
S
78 1 3
getTextSiblingCountOfNonTextNode()
S
80 1 3
setupDomDocument()
S
76 1 4
getNodeSiblingCountOfNonTextNode()
S
79 1 3
getSiblingCountOfNonTextNode()
S
79 1 3
getChildrenCountRecursivelyOfNodeTagsOnly()
S
80 1 3
stringToNode()
S
67 1 7
replaceNodeWithString()
S
67 1 7
isTextNode()
S
80 1 3
getOuterHtml()
S
72 1 5
getBrSiblingCountOfNonTextNode()
S
80 1 3